﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <style type="text/css">
        <!--
        body {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
        }

        .text {
            font-family: "宋体";
            font-size: 36px;
            line-height: 60px;
            text-align: center;
            background-color: #EA500A;
        }

        .text2 {
            font-family: "宋体";
            font-size: 36px;
            line-height: 60px;
            text-align: center;
            background-color: #ef6d21;
        }

        .text3 {
            font-family: "宋体";
            font-size: 36px;
            line-height: 60px;
            text-align: center;
            background-color: #f9d670;
        }

        .text4 {
            font-family: "宋体";
            font-size: 36px;
            line-height: 65px;
            text-align: center;
            color: #a23808;
        }
        

        .text5 {
            font-family: "宋体";
            font-size: 27px;
            line-height: 30px;
            text-align: center;
            color: #a23808;
            float:left;
            cursor: pointer;
            list-style-type :none;
             
        }
        li:hover {
        color: blue;
        }
        -->
    </style>
    <script src="../../Scripts/jquery.min.js"></script>
    <script src="../../Scripts/Timer/Timer.js"></script>
    <script>
        $(function () {
            
            $.ajax({
                url: "../../Map/GetMapTable",
                success: function (data) {
                    $('#tbMap').html(data);
                    var divdisplay = document.getElementById('divdisplay');
                    divdisplay.scrollTop = divdisplay.scrollHeight;
                }
            });
            CMPTimer();
            setIMG();

            
           

        });

        function openmap(floor,id) {
            window.location.href = "FloorMap/?floor=" + floor + "&danweiguid=" + id;
        }
        function openpersonlist(id) {
            window.location.href = "OfficePerson/?id=" + id;
        }
        function GoToIndex() {
            window.location.href = "../Index.html";
        }
        function setIMG() {
            var isback = '<%=ViewData["Isback"]%>';
            if (isback == "1") {
                $('#btnIndex').css("display", "none");
                $('#btnBack').css("display", "block");
            }
        }
    </script>
</head>

<body>
    
    <div style="width: 1920px; height: 1080px; margin: auto; background: url(../../images/map.jpg) no-repeat">
        <div style="width: 1459px; height: 588px;overflow-y:auto;overflow-x:hidden;position:absolute;top:330px;left:230px;" id="divdisplay">
            <table width="1459" border="0" cellspacing="0" cellpadding="0" id="tbMap">
               
            </table>
        </div>
       
    </div>
    <img alt="按钮" src="../../Images/button.png" style="position: absolute;cursor: pointer; top :930px;left:1300px;" id="btnIndex" onclick="GoToIndex()"/>

    <input id="btnBack" type="image" src="../../Images/back.jpg" style="display: none; position: absolute; top: 902px;left:1742px" onclick="javascript: window.history.go(-1);" />
    
</body>
</html>
